package com.cloud.xtools.module.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.xtools.common.response.PageList;
import com.cloud.xtools.module.domain.entity.Module;
import com.cloud.xtools.module.domain.query.admin.ModuleQuery;
import com.cloud.xtools.module.domain.request.admin.ModuleCreateRequest;
import com.cloud.xtools.module.domain.request.admin.ModuleUpdateRequest;
import com.cloud.xtools.module.domain.resource.admin.ModuleResource;

public interface ModuleService extends IService<Module> {
    PageList moduleList(ModuleQuery moduleQuery);
    ModuleResource add(ModuleCreateRequest moduleCreateRequest);
    void edit(Long id, ModuleUpdateRequest moduleUpdateRequest);
    ModuleResource getModuleById(Long id);
}
